/* 
 * Copyright (c) by Medtronic, Inc., 2012
 * $HeadURL: http://build-tool.googlecode.com/svn/trunk/BuildTool/main_fw/code/shared_system/pack.h $
 * $Revision: 72 $
 * $Date: 2013-08-12 13:54:12 +0000 (Mon, 12 Aug 2013) $
 */


/**************************************************************************//*!
 * \file pack.h
 * \brief Disables structure packing on non ARM or GNU systems.
 * \version $Revision: 72 $
 * \date $Date: 2013-08-12 13:54:12 +0000 (Mon, 12 Aug 2013) $
 *
 * This file contains macros which disable strcture packing except when
 * the __arm__ or __GNUC__ predefined macros are detected.
 *//**************************************************************************/
#ifndef PACK_H
#define PACK_H

#ifndef __arm__
#ifndef __packed
#define __packed 
#endif
#ifndef __GNUC__
#ifndef DISABLE_PACKING
#define DISABLE_PACKING
#define  __attribute__(packed)
#endif
#endif
#endif

#endif
/*@}*/ /* End of the file scope */
